package com.zy.swagger.entity;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 应用管理表(表t_app_manage)ORM实体对象
 *
 * @author ZY
 * @date 2021-04-23 22:37:17
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "t_app_manage")
public class AppManage implements Serializable {

    private static final long serialVersionUID = 925516237352560775L;

    /**
     * 主键ID
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    private Integer id;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 应用描述
     */
    private String appDesc;

    /**
     * 应用端口号
     */
    private String port;

    /**
     * 归属端：1.企业端 2.医端 3.患端 4.商业端 5.中台
     */
    private Integer belongEnd;

    /**
     * 负责人ID
     */
    private Integer userId;

    /**
     * swaggerAPI地址
     */
    private String swaggerUrl;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

}